package com.ruoyi.demooo1.mapper;

import com.ruoyi.demooo1.domain.TedAdvise;

import java.util.List;

/**
 * TedAdviseMapper接口
 *
 * @author ruoyi
 * @date 2023-08-18
 */
public interface TedAdviseMapper
{
    /**
     * 查询TedAdvise
     *
     * @param id TedAdvise主键
     * @return TedAdvise
     */
    public TedAdvise selectTedAdviseByID(String id);

    /**
     * 查询TedAdvise列表
     *
     * @param tedAdvise TedAdvise
     * @return TedAdvise集合
     */
    public List<TedAdvise> selectTedAdviseList(TedAdvise tedAdvise);

    /**
     * 新增TedAdvise
     *
     * @param tedAdvise TedAdvise
     * @return 结果
     */
    public int insertTedAdvise(TedAdvise tedAdvise);

    /**
     * 修改TedAdvise
     *
     * @param tedAdvise TedAdvise
     * @return 结果
     */
    public int updateTedAdvise(TedAdvise tedAdvise);

    /**
     * 删除TedAdvise
     *
     * @param ID TedAdvise主键
     * @return 结果
     */
    public int deleteTedAdviseByID(String ID);

    /**
     * 批量删除TedAdvise
     *
     * @param IDs 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTedAdviseByIDs(String[] ids);
}
